package com.xy.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author guojian
 */
@ApiModel(value = "HeartbeatResponse", description = "心跳HeartbeatResponse")
@Data
public class HeartbeatResponse implements Serializable {
	/**
	 * 场馆名称
	 */
	@ApiModelProperty(value = "场馆名称")
	private String venueName;
	/**
	 * 场馆ID
	 */
	@JsonSerialize(
		using = ToStringSerializer.class
	)
	@ApiModelProperty(value = "场馆ID")
	private Long venueId;
	/**
	 * 门禁组名称
	 */
	@ApiModelProperty(value = "门禁组名称")
	private String groupName;
	/**
	 * 门禁组ID
	 */
	@ApiModelProperty(value = "门禁组ID")
	private Long  positionGroupId;
	/**
	 * 门禁点名称
	 */
	@ApiModelProperty(value = "门禁点名称")
	private String  positionName;
	/**
	 * 门禁点Id
	 */
	@ApiModelProperty(value = "门禁点Id")
	private String positionId;
	/**
	 * 闸机名称
	 */
	@ApiModelProperty(value = "闸机名称")
	private String gateName;
	/**
	 * 闸机编号
	 */
	@ApiModelProperty(value = "闸机编号")
	private String gateRef;
	/**
	 * 闸机ID
	 */
	@ApiModelProperty(value = "闸机ID")
	private Long gateId;
	/**
	 * 展会集合
	 */
	@ApiModelProperty(value = "展会集合")
	private List<ExhibitionResponse> exhibitionResponses;
	/**
	 * 入场规则
	 */
	@ApiModelProperty(value = "入场规则")
	private RuleResponse ruleResponse;
	/**
	 * 版本编号
	 */
	@ApiModelProperty(value = "版本编号")
	private String versionRef;
	/**
	 * 版本地址
	 */
	@ApiModelProperty(value = "版本地址")
	private String versionUrl;

}
